<template>
  <el-form label-width="100px" style="width:500px;">

    <el-form-item label="企业名称">
      <el-input v-model="info.name" disabled />
    </el-form-item>
    <el-form-item label="企业地址">
      <el-input v-model="info.companyAddress" disabled />
    </el-form-item>
    <el-form-item label="企业电话">
      <el-input v-model="info.companyPhone" disabled />
    </el-form-item>
    <el-form-item label="邮箱">
      <el-input v-model="info.mailbox" disabled />
    </el-form-item>
    <el-form-item label="备注">
      <el-input v-model="info.remarks" disabled />
    </el-form-item>
  </el-form>
</template>
<script>
import { company } from '@/api/setting'
export default {
  data() {
    return {
      info: ''
    }
  },
  created() {
    this.getData()
  },
  methods: {
    async getData() {
      const res = await company(this.$store.state.user.userInfo.companyId)
      this.info = res.data
      console.log('企业信息', res)
    }
  }
}
</script>
<style>
</style>
